package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;

import com.mbc.common.param.CriteriaRMParams;
import com.mbc.rmt.data.RemittanceCashReceivedDataList;
import com.mbc.rmt.entities.RemittanceCashReceived;

public interface RemittanceCashReceivedArchiveDAO {
	void create(RemittanceCashReceived entity)throws SQLException;
	void udpate(RemittanceCashReceived entity)throws SQLException;
	void delete(long key)throws SQLException;
	RemittanceCashReceived find(long key)throws SQLException;
	List<RemittanceCashReceived> findAll()throws SQLException;
	List<RemittanceCashReceived> findConfirmAll(long branchid, long defaultbranchid)throws SQLException;
	RemittanceCashReceivedDataList findRmtCashReceived(CriteriaRMParams cri)throws SQLException;
	RemittanceCashReceivedDataList findAllRmtCashReceived(CriteriaRMParams cri)throws SQLException;
	RemittanceCashReceivedDataList findRmtCashReceived(long batchId)throws SQLException;
	List<RemittanceCashReceived> findByDateRange(Date fromDate, Date toDate, long branchId)throws SQLException;
}
